-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/division property #291
Conversation
|
@@ -608,17 +662,21 @@ def build_generic_model_for_specific_output_bit(self, output_bit_index_ciphertex | |||
start = time.time() | |||
output_id, output_bit_index_previous_comp, block_needed, input_id_link_needed, pivot = self.get_output_bit_index_previous_component( | |||
output_bit_index_ciphertext, chosen_cipher_output) | |||
# print(output_id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comments to be removed
@@ -654,7 +712,7 @@ def build_generic_model_for_specific_output_bit(self, output_bit_index_ciphertex | |||
|
|||
self.set_unused_variables_to_zero() | |||
self._model.update() | |||
self._model.write("division_trail_model.lp") | |||
# self._model.write("division_trail_model.lp") | |||
end = time.time() | |||
building_time = end - start | |||
print(f"########## building_time : {building_time}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
build time should be one of the outputs, as done in the trail search.
The output can be a json
@@ -703,8 +771,8 @@ def get_solutions(self): | |||
end = time.time() | |||
printing_time = end - start | |||
print(f"########## printing_time : {printing_time}") | |||
print(monomials) | |||
print(f'Number of monomials found: {len(monomials)}') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to print
No description provided.